package cn.com.miao.lynx.service.system.service;

import cn.com.miao.lynx.common.core.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * RemoteSysUserService
 * 供rpc调用的user服务
 * @title: RemoteSysUserService
 * @description:
 * @author: dengmiao
 * @create: 2019-12-24 11:21
 **/
@FeignClient(path = "/system", value = "lynx-system")
public interface RemoteSysUserService {

    @GetMapping("user/list")
    ResponseEntity<Result> findAll();
}
